Module-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
function delete_quest(recurring_quest: recurring_quest)
function delete_quest_instance_and_update_timestamp(recurring_quest_instance: recurring_quest_instance?, group: recurring_quest_group, account: account, plot_id: integer)
Link copied to clipboard
function get_next_available_quest(group: recurring_quest_group, plot_id: integer, account: account): (quest_instance: recurring_quest, quest_struct: immutable_mirror_struct<recurring_quest>)?
Link copied to clipboard
function get_quest_with_lowest_weight(plot_id: integer, specialization: text, tier: integer): (quest_instance: recurring_quest, quest_struct: immutable_mirror_struct<recurring_quest>)?
Link copied to clipboard
function get_random_quest(account: account, plot_id: integer, specialization: text, tier: integer): (quest_instance: recurring_quest, quest_struct: immutable_mirror_struct<recurring_quest>)?
Link copied to clipboard
Link copied to clipboard
function lcg(seed: integer): integer
Link copied to clipboard
@extendable function on_recurring_quest_accept(plot_id: integer, specialization: specialization, tier: integer)
Link copied to clipboard
@extendable function on_recurring_quest_complete(plot_id: integer, account: account, amount: integer, token_name: text)
Link copied to clipboard
function shuffle(quests: list<(quest: recurring_quest, weight: integer)>, seed: integer): list<(quest: recurring_quest, weight: integer)>

Queries

Link copied to clipboard
@mount("recurring_quests.get_accepted_plot_recurring_quests") query get_accepted_plot_recurring_quests(account_id: byte_array): list<recurring_quest_instance_info>
Link copied to clipboard
@mount("recurring_quests.get_all_accepted_plot_recurring_quests") query get_all_accepted_plot_recurring_quests(): list<recurring_quest_instance_info>
Link copied to clipboard
@mount("recurring_quests.get_all_plot_recurring_quests") query get_all_plot_recurring_quests(cursor: page_cursor): (data: list<recurring_quest_info_with_id>, max_rowid_covered: rowid)
Link copied to clipboard
@mount("recurring_quests.get_next_available_plot_recurring_quests") query get_next_available_plot_recurring_quests(account_id: byte_array, plot_id: integer): list<next_available_quest_for_group>
Link copied to clipboard
@mount("recurring_quests.get_plot_recurring_quest_groups_info") query get_plot_recurring_quest_groups_info(): list<recurring_quest_group_info>
Link copied to clipboard
@mount("recurring_quests.get_plot_recurring_quest_last_completed") query get_plot_recurring_quest_last_completed(group_name: text, plot_id: integer, account_id: byte_array): integer?
Link copied to clipboard
@mount("recurring_quests.get_recurring_quest_configs") query get_recurring_quest_configs(): (enabled: boolean, fast_cooldown: boolean, fast_cooldown_duration_in_millis: integer)
Link copied to clipboard
@mount("recurring_quests.get_recurring_quest_type") query get_recurring_quest_type(): list<recurring_quest_type>

Operations

Link copied to clipboard
@mount("recurring_quests.accept_plot_recurring_quest") operation accept_plot_recurring_quest(plot_id: integer, specialization_name: text, tier: integer, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("recurring_quests.complete_plot_recurring_quest") operation complete_plot_recurring_quest(plot_id: integer, specialization_name: text, tier: integer, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("recurring_quests.delete_recurring_quest") operation delete_recurring_quest(id: text)
Link copied to clipboard
@mount("recurring_quests.delete_recurring_quest_group") operation delete_recurring_quest_group(specialization_name: text, tier: integer)
Link copied to clipboard
@mount("recurring_quests.register_recurring_quest") operation register_recurring_quest(recurring_quest_info: recurring_quest_info)
Link copied to clipboard
@mount("recurring_quests.register_recurring_quest_group") operation register_recurring_quest_group(recurring_quest_group_info: recurring_quest_group_info)
Link copied to clipboard
@mount("recurring_quests.set_global_recurring_quest_parameters") operation set_global_recurring_quest_parameters(enabled: boolean, fast_cooldown: boolean, fast_cooldown_duration_in_millis: integer)
Link copied to clipboard
@mount("recurring_quests.skip_plot_recurring_quest") operation skip_plot_recurring_quest(plot_id: integer, specialization_name: text, tier: integer, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("recurring_quests.update_recurring_quest") operation update_recurring_quest(id: text, recurring_quest_info: recurring_quest_info)
Link copied to clipboard
@mount("recurring_quests.update_recurring_quest_group_cooldown") operation update_recurring_quest_group_cooldown(specialization_name: text, tier: integer, new_cooldown_in_millis: integer)